package com.labofjet.aspect;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;

@Aspect
@Component
public class StringAspect {
	@Around(value = "execution(* java.lang.String.equals(..))")
	public Object testAround(ProceedingJoinPoint pjp) throws Throwable{
		System.out.println("456");
		Object obj = pjp.proceed();
		return obj;
	}
}
